﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="ucCartNonUserDetail.ascx.cs" Inherits="GomMinhLong.AdminCP.PageUC.ucCartNonUserDetail" %>
<style type="text/css">
.margin5px{ margin:5px auto;}
.label{padding-left: 5px;}
</style>
<h2>Giỏ hàng chi tiết</h2>
<div>                 

<asp:GridView ID="GridView1" runat="server" AllowPaging="True" 
    AutoGenerateColumns="False" BackColor="White" BorderColor="#CCCCCC" 
    BorderStyle="None" BorderWidth="1px" CellPadding="3" 
    DataKeyNames="GioHangID" EnableViewState="False"
    Font-Names="Times New Roman" Font-Size="Medium" HorizontalAlign="Center" 
    PageSize="20" Width="100%">
    <RowStyle BorderColor="#2d2d2d" ForeColor="#000066" />
    <Columns>
        <asp:TemplateField HeaderText="Sản phẩm">
            <ItemTemplate>
                <asp:Label ID="lblSanPham" runat="server" Style="margin-left: 2px;" 
                    Text='<%# Eval("TenSanPham") %>'></asp:Label>
            </ItemTemplate>
        </asp:TemplateField>
        <asp:TemplateField HeaderText="Số lượng">
            <ItemTemplate>
                <asp:Label ID="lblSoLuong" runat="server" Style="margin-left: 2px;" 
                    Text='<%# Eval("SoLuong") %>'></asp:Label>
            </ItemTemplate>
        </asp:TemplateField>        
        <asp:TemplateField HeaderText="Đơn giá">
            <ItemTemplate>
                <asp:Label ID="lblDonGia" runat="server" Style="margin-left: 2px;" 
                    Text='<%# Eval("DonGia") %>'></asp:Label>
            </ItemTemplate>
        </asp:TemplateField>
        <asp:TemplateField HeaderText="Thành tiền">
            <ItemTemplate>
                <asp:Label ID="lblThanhTien" runat="server" Style="margin-left: 2px;" 
                    Text='<%# Eval("ThanhTien") %>'></asp:Label>
            </ItemTemplate>
        </asp:TemplateField>
    </Columns>
    <SelectedRowStyle BackColor="#669999" Font-Bold="True" ForeColor="White" />
    <HeaderStyle BackColor="#6699FF" Font-Bold="True" ForeColor="White" 
        Height="25px" />
    <FooterStyle BackColor="White" ForeColor="#000066" />
    <PagerStyle BackColor="White" ForeColor="#000066" HorizontalAlign="Left" />
    <RowStyle ForeColor="#000066" HorizontalAlign="Center" />
</asp:GridView>
 
 </div>
<h3>Thông tin khách hàng</h3>
 <div style="margin: 15px 0px 5px 5px; min-height: 700px;">     
    <table width="100%">
    <tr>
        <td>
            Mã đơn hàng
        </td>
        <td>
        <asp:Label class="lblCartDetail" id="Label1" runat="server" Text=""></asp:Label>
        </td>
        
    </tr>
        <tr>
            <td class="tdTitle">
               Tên khách hàng
            </td>
            <td class="tdContent">
                <asp:Label class="lblCartDetail" id="lblTenKhachHang" runat="server" Text=""></asp:Label>
            </td>
            <td class="tdTitle">
                Địa chỉ
            </td>
           <td class="tdContent">
                 <asp:Label class="lblCartDetail" id="lblDiaChi" runat="server" Text=""></asp:Label>
            </td>
        </tr>
        <tr>
            <td class="tdTitle">
               Số điện thoại
            </td>
            <td class="tdContent">
                <asp:Label class="lblCartDetail" id="lblSoDienThoai" runat="server" Text=""></asp:Label>
            </td>
            <td class="tdTitle">
                Email
            </td>
           <td class="tdContent">
                 <asp:Label class="lblCartDetail" id="lblEmail" runat="server" Text=""></asp:Label>
            </td>
        </tr>
        <tr>
            <td class="tdTitle">
               Địa chỉ giao hàng
            </td>
            <td class="tdContent">
                <asp:Label class="lblCartDetail" id="lblDiaChiGiaoHang" runat="server" Text=""></asp:Label>
            </td>
            <td class="tdTitle">
                Hình thức thanh toán
            </td>
           <td class="tdContent">
                 <asp:Label class="lblCartDetail" id="lblHTTT" runat="server" Text=""></asp:Label>
            </td>
        </tr>
            <td class="tdTitle">
               Ghi chú
            </td>
            <td class="tdContent">
                <asp:Label class="lblCartDetail" id="lblGhiChu" runat="server" Text=""></asp:Label>
            </td>
            <td class="tdTitle">
                Tổng tiền
            </td>
           <td class="tdContent">
                 <asp:Label class="lblCartDetail" id="lblTongTien" runat="server" Text=""></asp:Label>
            </td>
        </tr>
    
    </table>
 </div>
 
<h3>Thông tin chi tiết giỏ hàng</h3>
 <div>                 

<asp:GridView ID="gvDonHangNonUserDetail" runat="server" AllowPaging="True" 
    AutoGenerateColumns="False" BackColor="White" BorderColor="#CCCCCC" 
    BorderStyle="None" BorderWidth="1px" CellPadding="3" 
    DataKeyNames="GioHangID" EnableViewState="False"
    Font-Names="Times New Roman" Font-Size="Medium" HorizontalAlign="Center" 
    PageSize="20" Width="100%">
    <RowStyle BorderColor="#2d2d2d" ForeColor="#000066" />
    <Columns>
        <asp:TemplateField HeaderText="Sản phẩm">
            <ItemTemplate>
                <asp:Label ID="lblSanPham" runat="server" Style="margin-left: 2px;" 
                    Text='<%# Eval("TenSanPham") %>'></asp:Label>
            </ItemTemplate>
        </asp:TemplateField>
        <asp:TemplateField HeaderText="Số lượng">
            <ItemTemplate>
                <asp:Label ID="lblSoLuong" runat="server" Style="margin-left: 2px;" 
                    Text='<%# Eval("SoLuong") %>'></asp:Label>
            </ItemTemplate>
        </asp:TemplateField>        
        <asp:TemplateField HeaderText="Đơn giá">
            <ItemTemplate>
                <asp:Label ID="lblDonGia" runat="server" Style="margin-left: 2px;" 
                    Text='<%# Eval("DonGia") %>'></asp:Label>
            </ItemTemplate>
        </asp:TemplateField>
        <asp:TemplateField HeaderText="Thành tiền">
            <ItemTemplate>
                <asp:Label ID="lblThanhTien" runat="server" Style="margin-left: 2px;" 
                    Text='<%# Eval("ThanhTien") %>'></asp:Label>
            </ItemTemplate>
        </asp:TemplateField>
    </Columns>
    <SelectedRowStyle BackColor="#669999" Font-Bold="True" ForeColor="White" />
    <HeaderStyle BackColor="#6699FF" Font-Bold="True" ForeColor="White" 
        Height="25px" />
    <FooterStyle BackColor="White" ForeColor="#000066" />
    <PagerStyle BackColor="White" ForeColor="#000066" HorizontalAlign="Left" />
    <RowStyle ForeColor="#000066" HorizontalAlign="Center" />
</asp:GridView>
 
 </div>